import request from "./http";

// http://api.17k.com/book/search?sort=15&page=1&channelId=3&_versions=1310&appKey=4037465544
export function getCartypes(value,index,emid) {
    return request({
        url: `/book/search?sort=${value}&page=${index}&channelId=${emid}&_versions=1310&appKey=4037465544`,
        method: "get",
    })
}

export function getCartypestobas() {
    return request({
        url: `/assets/json/CArtyps.json`,
        method: "get",
    })
}
